package com.wangmin.intercept.application;

import android.app.Application;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;

import com.wangmin.intercept.init.SdkInit;

/**
 * Created by wm on 2017/4/5.
 */
public class KuaiyanApplication extends Application {
    private static Handler handler;
    public static Context getContext() {
        return context;
    }
    private static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        handler = new Handler(Looper.getMainLooper());
        context = this;
        SdkInit.init(this);
    }
    public static Handler getHandler() {
        return handler;
    }
}
